package com.aaa.dao;

import com.aaa.pojo.FundManagement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

@Mapper
@Repository
public interface FundManagementDao {
    //基金理财
    public List<FundManagement> selectFund();
    FundManagement selectByFid(@Param("fid") Integer fid);
    public Boolean addFundMoney(@Param("u_id")Integer u_id, @Param("f_id") Integer f_id,@Param("amount") Double amount);
    public void addRecordMoney(@Param("amount") Double amount, @Param("type_abbreviate") String type_abbreviate);
}
